OCT$ Function ---------------------------------------------------------------------------- Action Returns a string representing the octal value of the numeric argument. Syntax OCT$( numeric-expression) Remarks The argument numeric-expression can be of any type. It is rounded to an integer or long integer before the OCT$ function evaluates it. See Also HEX$ Example The following example displays the octal version of several decimal numbers. PRINT "The octal representation of decimal 24 is " OCT$(24) PRINT "The octal representation of decimal 55 is " OCT$(55) PRINT "The octal representation of decimal 101 is " OCT$(101) Output The octal representation of decimal 24 is 30 The octal representation of decimal 55 is 67 The octal representation of decimal 101 is 145